<?php $this->load->view('admin/public');?>
    <!--/sidebar-->
    <div class="main-wrap">

        <div class="crumb-wrap">
            <div class="crumb-list"><i class="icon-font"></i><a href="<?=site_url('admin/indexc/index');?>">首页</a><span class="crumb-step">&gt;</span><a class="crumb-name" href="<?=site_url('admin/articlec/lst');?>">文章管理</a><span class="crumb-step">&gt;</span><span>修改文章</span></div>
        </div>

        <div class="result-wrap">
            <div class="result-content">
                <form action="<?=site_url('admin/articlec/save')?>" method="post" id="myform" name="myform" enctype="multipart/form-data">
                    <table class="insert-tab" width="100%">
                        <tbody><tr>
                            <th width="120"><i class="require-red">*</i>分类：</th>
                            <td>
                                <select name="catid" id="catid" class="required">
                                    <option value="">请选择</option>
                                    <option <?php
                                        if(set_value('catid',$catid)==19){
                                            echo 'selected';
                                        };
                                        ?> value="19">精品界面</option>
                                    <option <?php
                                        if(set_value('catid',$catid)==20){
                                            echo 'selected';
                                        };
                                        ?> value="20">推荐界面</option>
                                </select>
                            <span style="color:red"><?=form_error('catid');?></span>
                            </td>
                        </tr>
                            <tr>
                                <th><i class="require-red">*</i>标题：</th>
                                <td>
                                    <input class="common-text required" id="title" name="title" size="50" value="<?=set_value('title',$title);?>" type="text"><span style="color:red"><?=form_error('title');?></span>
                                    <input type="hidden" name="id" value="<?=$id;?>">
                                </td>
                            </tr>
                            <tr>
                                <th>作者：</th>
                                <td><input class="common-text" name="author" size="50" value="admin" type="text"></td>
                            </tr>
                            <tr>
                                <th><i class="require-red">*</i>缩略图：</th>
                                <td><input name="thumb" id="" type="file"><!--<input type="submit" onclick="submitForm('/jscss/admin/design/upload')" value="上传图片"/>-->
                                    <span style="color:red"><?=form_error('thumb');?></span>
                                </td>
                            </tr>
                            <tr>
                                <th>内容：</th>
                                <td><textarea name="content" class="common-textarea" id="content" cols="30" style="width: 98%;" rows="10"><?=set_value('content',$content);?></textarea><span style="color:red"><?=form_error('content');?></span></td>
                            </tr>
                            <tr>
                                <th></th>
                                <td>
                                    <input class="btn btn-primary btn6 mr10" value="提交" type="submit">
                                    <input class="btn btn6" onclick="history.go(-1)" value="返回" type="button">
                                </td>
                            </tr>
                        </tbody></table>
                </form>
            </div>
        </div>

    </div>
    <!--/main-->
</div>
</body>
</html>